package sjtu.ist.warehouse4ws.model;

/**
 * Permissionresources entity. @author MyEclipse Persistence Tools
 */

public class Permissionresources implements java.io.Serializable {

	// Fields

	private int id;
	private String permissionid;
	private String resourceid;
	private String groupId;
	private String versionId;

	// Constructors

	/** default constructor */
	public Permissionresources() {
	}

	/** minimal constructor */
	public Permissionresources(int id, String permissionid, String resourceid) {
		this.id = id;
		this.permissionid = permissionid;
		this.resourceid = resourceid;
	}

	/** full constructor */
	public Permissionresources(int id, String permissionid,
			String resourceid, String groupId, String versionId) {
		this.id = id;
		this.permissionid = permissionid;
		this.resourceid = resourceid;
		this.groupId = groupId;
		this.versionId = versionId;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPermissionid() {
		return this.permissionid;
	}

	public void setPermissionid(String permissionid) {
		this.permissionid = permissionid;
	}

	public String getResourceid() {
		return this.resourceid;
	}

	public void setResourceid(String resourceid) {
		this.resourceid = resourceid;
	}

	public String getGroupId() {
		return this.groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getVersionId() {
		return this.versionId;
	}

	public void setVersionId(String versionId) {
		this.versionId = versionId;
	}

}